package com.cloud.clouduser.pojo;

import javax.persistence.*;

/**
 * tb_user 实体类
 * Sat Sep 21 14:14:24 CST 2019
 * @lry
 */ 
@Entity
@Table(name = "tb_user")
public class TbUser {

	@Id
	private String user_id;
	private String name;
	private String password;
	private String phone;
	private String create_time;

	public String getUser_id(){
		return user_id;
	}

	public void setUser_id(String user_id){
		this.user_id=user_id;
	}

	public String getName(){
		return name;
	}

	public void setName(String name){
		this.name=name;
	}

	public String getPassword(){
		return password;
	}

	public void setPassword(String password){
		this.password=password;
	}

	public String getPhone(){
		return phone;
	}

	public void setPhone(String phone){
		this.phone=phone;
	}

	public String getCreate_time(){
		return create_time;
	}

	public TbUser(String user_id, String name, String password, String phone, String create_time) {
		this.user_id = user_id;
		this.name = name;
		this.password = password;
		this.phone = phone;
		this.create_time = create_time;
	}

	public TbUser() {
	}

	@Override
	public String toString() {
		return "TbUser{" +
				"user_id='" + user_id + '\'' +
				", name='" + name + '\'' +
				", password='" + password + '\'' +
				", phone='" + phone + '\'' +
				", create_time='" + create_time + '\'' +
				'}';
	}

	public void setCreate_time(String create_time){

		this.create_time=create_time;
	}

}

